<!--车主服务 start-->
<div class="owner-serv layout960">
	<div class="index-title fn-clear">
		<h2>车主服务</h2>
		<a href="{url('shop/list')}" class="more" title="更多" target="_blank">更多&gt;&gt;</a>
		<ul class="index-title-link fn-right fn-clear">
			<li><a href="{url('shop/list')}#car" target="_blank" title="汽车服务">汽车服务</a></li>
			<li><a href="{url('shop/list')}#life" target="_blank" title="生活服务">生活服务</a></li>
			<li><a href="{url('shop/flow')}" target="_blank" title="生活服务">加入车主服务</a></li>
		</ul>
	</div>
	<div class="prelative">
		<a class="icon-pre-gray" href="javascript:void(0)" title="上一组"></a>
		<a class="icon-next-gray" href="javascript:void(0)" title="下一组"></a>
		<div class="index-pics-wrap">
			<div id="J_SlideOwner" class="index-pics-list fn-clear">
				<div class="index-pics fn-left fn-clear">
					{php $cityOrder = $cityid&&$cityid!=0 ? '(case when b.areaid IN ('.$AREA[$cityid]["arrchildid"].') then 1 else 2 end ),': ''}
					{php $tag =Template::tag("fields=b.userid,b.itemid,b.shopname,b.thumb&table=xd_business b,xd_business_auth ba,xd_member m&prefix=&pagesize=21&condition=b.userid=ba.userid and b.userid=m.userid and  ba.verify=1 and (ba.license_status=3 or ba.license_status=2) and b.mainstore=1 &order=".$cityOrder."m.logintime desc&template=null");}
					{php $first = array_shift($tag)}
					{php $firstpic = CoshopModule::getPic($first[userid])}
					<div class="index-bigpic fn-left">
						<a href="{url('shop/show',"itemid=".$first[itemid])}" title="{$first[shopname]}" target="_blank" class="img">
							<img src="{Picture::thumb($firstpic,395,265)}" alt="{$first[shopname]}" >
						</a>
						<a href="{url('shop/show',"itemid=".$first[itemid])}" title="{$first[shopname]}" target="_blank" class="text-ellipsis">{$first[shopname]}</a>
					</div>
					{php $top = array_splice($tag,0,6)}
					<ul class="fn-right fn-clear">
						{loop $top $t}
						<li>
							<a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t[shopname]}" target="_blank" class="img">
								<img width="165" height="130" src="{Picture::thumb($t[thumb],165,130)}" alt="{$t[shopname]}">
							</a>
							<a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t[shopname]}" target="_blank" class="text-ellipsis">{$t[shopname]}</a>
						</li>
						{/loop}
					</ul>
				</div>
				<div class="index-pics fn-left fn-clear">
					{php $second = array_shift($tag)}
					{php $secondpic = CoshopModule::getPic($second[userid])}
					<div class="index-bigpic fn-left">
						<a href="{url('shop/show',"itemid=".$second[itemid])}" title="{$second[shopname]}" target="_blank" class="img">
							<img src="{Picture::thumb($secondpic,395,265)}" alt="{$second[shopname]}" >
						</a>
						<a href="{url('shop/show',"itemid=".$second[itemid])}" title="{$second[shopname]}" target="_blank" class="text-ellipsis">{$second[shopname]}</a>
					</div>
					{php $center = array_splice($tag,0,6)}
					<ul class="fn-right fn-clear">
						{loop $center $t}
						<li>
							<a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t[shopname]}" target="_blank" class="img">
								<img width="165" height="130" src="{Picture::thumb($t[thumb],165,130)}" alt="{$t[shopname]}">
							</a>
							<a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t[shopname]}" target="_blank" class="text-ellipsis">{$t[shopname]}</a>
						</li>
						{/loop}
					</ul>
				</div>
				<div class="index-pics fn-left fn-clear">
					{php $three = array_shift($tag)}
					{php $threepic = CoshopModule::getPic($three[userid])}
					<div class="index-bigpic fn-left">
						<a href="{url('shop/show',"itemid=".$three[itemid])}" title="{$three[shopname]}" target="_blank" class="img">
							<img src="{Picture::thumb($threepic,395,265)}" alt="{$three[shopname]}" >
						</a>
						<a href="{url('shop/show',"itemid=".$three[itemid])}" title="{$three[shopname]}" target="_blank" class="text-ellipsis">{$three[shopname]}</a>
					</div>
					<ul class="fn-right fn-clear">
						{loop $tag $t}
						<li>
							<a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t[shopname]}" target="_blank" class="img">
								<img width="165" height="130" src="{Picture::thumb($t[thumb],165,130)}" alt="{$t[shopname]}">
							</a>
							<a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t[shopname]}" target="_blank" class="text-ellipsis">{$t[shopname]}</a>
						</li>
						{/loop}
					</ul>
				</div>
			</div>
		</div>

	</div>
	<div class="owner-serv-bot mt10 fn-clear">
		<div class="panel-line fn-left">
			<div class="hd fn-clear">
				<h3>汽车服务</h3>
				<a class="more" title="更多" target="_blank" href="{url('shop/index','catid=4864')}">更多&gt;&gt;</a>
			</div>
			<ul class="content ul-blue bluedot text-ellipsis">
				{php $cat_choose=get_cat(4864);}
				{php $tag =Template::tag("fields=b.itemid,b.shopname,b.business&table=xd_business b,xd_business_auth ba,xd_member m&prefix=&pagesize=5&condition=b.userid=ba.userid and b.userid=m.userid and  ba.verify=1 and (ba.license_status=3 or ba.license_status=2) and b.mainstore=1  and catid in (".$cat_choose['arrchildid'].") &order=".$cityOrder."m.logintime desc&template=null");}
				{loop $tag $t}
				<li><a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t['business']}" target="_blank">{$t['shopname']}</a> <span  title="{$t['business']}">[ {$t['business']} ]</span></li>
				{/loop}
			</ul>
		</div>
		<div class="panel-line fn-left">
			<div class="hd fn-clear">
				<h3>生活服务</h3>
				<a class="more" title="更多" target="_blank" href="{url('shop/index','catid=4855')}">更多&gt;&gt;</a>
			</div>
			<ul class="content ul-blue bluedot text-ellipsis">
				{php $cat_choose=get_cat(4855);}
				{php $tag =Template::tag("fields=b.itemid,b.shopname,b.business&table=xd_business b,xd_business_auth ba,xd_member m&prefix=&pagesize=5&condition=b.userid=ba.userid=m.userid and  ba.verify=1 and (ba.license_status=3 or ba.license_status=2) and b.mainstore=1  and catid in (".$cat_choose['arrchildid'].") &order=".$cityOrder."m.logintime desc&template=null");}
				{loop $tag $t}
				<li><a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t['business']}" target="_blank">{$t['shopname']}</a>
					<span title="{$t['business']}">[ {$t['business']} ]</span></li>
				{/loop}
			</ul>
		</div>
		<div class="panel-line fn-left">
			<div class="hd fn-clear">
				<h3>最新加入</h3>
			</div>
			<ul class="content ul-blue bluedot text-ellipsis">
				{php $tag =Template::tag("fields=b.itemid,b.shopname,b.business&table=xd_business b,xd_business_auth ba&prefix=&pagesize=5&condition=b.userid=ba.userid and  ba.verify=1 and (ba.license_status=3 or ba.license_status=2) and b.mainstore=1 &order=".$city_order."addtime desc&template=null");}
				{loop $tag $t}
				<li><a href="{url('shop/show',"itemid=".$t[itemid])}" title="{$t['business']}" target="_blank">{$t['shopname']}</a>
					<span title="{$t['business']}">[ {$t['business']} ]</span></li>
				{/loop}
			</ul>
		</div>
	</div>
</div>
<!--车主服务 end-->